package com.biglead.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.biglead.admin.param.PmsProductAttributeParam;
import com.biglead.admin.pojo.PmsProductAttribute;
import com.biglead.admin.pojo.ProductAttrInfo;

import java.util.List;

public interface PmsProductAttributeService {
    Page<PmsProductAttribute> getList(Long cid, Integer type, Integer pageSize, Integer pageNum);

    boolean create(PmsProductAttributeParam productAttributeParam);

    boolean update(Long id, PmsProductAttributeParam productAttributeParam);

    PmsProductAttribute getItem(Long id);

    boolean delete(List<Long> ids);

    List<ProductAttrInfo> getProductAttrInfo(Long productCategoryId);
}
